package com.koron.ticket.line.workFake.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: rocky
 * @Date: 2022/1/5 15:10
 */
@Data
public class WorkFakeQueryBean extends PageQuery {

    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private String id;

    /**
     * 标题
     */
    @ApiModelProperty(value="标题")
    private String title;

    /**
     * 工作票类型 数据字典:ticket_work_type
     */
    @ApiModelProperty(value="工作票类型 数据字典:ticket_work_type")
    private String type;

    /**
     * 创建人账号
     */
    @ApiModelProperty(value="创建人账号")
    private String createByName;

    @ApiModelProperty(value = "创建人账号")
    private String createBy;

    @ApiModelProperty(value = "创建单位ID")
    private String deptId;

    @ApiModelProperty(value = "创建单位名称")
    private String deptName;

    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty(value = "填票开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startCreateTime;

    @ApiModelProperty(value = "填票结束结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endCreateTime;

}
